package com.caiheng.api.entity.product;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

import java.io.Serializable;

/**
 * 商品对应的小区对象 product_estate
 *
 * @author ruoyi
 * @date 2021-08-19
 */
@Data
@NoArgsConstructor
@Accessors(chain = true)
@TableName("product_estate")
public class ProductEstate implements Serializable {

    private static final long serialVersionUID=1L;


    /**
     * $column.columnComment
     */
    @TableId(value = "id",type = IdType.AUTO)
    private Integer id;

    /**
     * 商品id
     */
    private Integer productId;

    /**
     * 小区id
     */
    private Integer estateId;

    /**
     * 服务类型
     */
    private Integer serviceType;

}
